package com.tzbank.consumer;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.tzbank.entity.UserParam;

@FeignClient(value = "framework-common-service")
public interface CommonServiceScheduler {

    @PostMapping("user/checkToken")
    Map<String,Object> checkToken(@RequestBody UserParam map);
}
